﻿using System;
using System.Collections.Generic;

namespace mki.Backup.Objects.ValidationObjects
{
	/// <summary>
	/// Represents the ValidationError class
	/// </summary>
	[Serializable]
	public class ValidationError
	{
		#region Properties (3)

		// Public Properties (3) 

		/// <summary>
		/// Gets or sets a value indicating whether this instance is valid.
		/// </summary>
		/// <value><c>true</c> if this instance is valid; otherwise, <c>false</c>.</value>
		public Boolean IsValid { get; set; }

		/// <summary>
		/// Gets or sets the items.
		/// </summary>
		/// <value>The items.</value>
		public List<ValidationErrorItem> Items { get; set; }

		/// <summary>
		/// Gets or sets the reference item.
		/// </summary>
		/// <value>The reference item.</value>
		public Object ReferenceItem { get; set; }

		#endregion Properties
	}
}